package com.kuang.pojo.service.log;

import org.springframework.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

public class AfterLog implements AfterReturningAdvice {

    //returnvalue 返回值
    public void afterReturning(Object returnvalue, Method method, Object[] objects, Object target) throws Throwable {

        System.out.println("执行了"+method.getName()+"返回结果为"+returnvalue);
    }
}
